package ccmouse.guice.v11.helloworlddemo;

import java.io.PrintStream;

public class PrintStreamWriterV2 implements MyDestinationV2 {

    private PrintStream destination;

    public PrintStreamWriterV2(PrintStream destination) {
        this.destination = destination;
    }

    @Override
    public void write(String s) {
        destination.println(s);
    }
}
